{extend name="./zui/common.html" /}
{block name="body"}
<div class="container">
    <div class="col-lg-12">
        <form class="form-horizontal" action="/vote/Index/doVote" method="post">
            <legend>{$_voteInfo['title']}</legend>
            {volist name="_voteInfo['option_list']" id="option"}
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" name="vote_option_id[]" value="{$option['vote_option_id']}">
                            {$option['option_title']}
                        </label>
                    </div>
                </div>
            </div>
            {/volist}
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <input type="hidden" name="vote_id" value="{$_voteInfo['vote_id']}">
                    <button type="submit" class="btn btn-default">提交</button>
                </div>
            </div>

        </form>
    </div>
</div>
{/block}